package T1;

class Outer{
    int num=10;
    class Inner{
        int num2=20;
        public void show(){
            System.out.println(num);
        }
    }
}

public class InnnerClassDemo1 {
    public static void main(String[] args) {
        Outer.Inner inner= new Outer().new Inner();
        System.out.println(inner.num2);
        inner.show();
    }
}
